﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Composite.Regions;
using Microsoft.Practices.Unity;

namespace RiaCrm.IsolationStorage
{
    public class IsolationStorageModule : IModule
    {
        private IRegionManager _regionManager;
        private IUnityContainer _container;

        public IsolationStorageModule(IRegionManager regionManager, IUnityContainer container)
        {
            this._container = container;
            this._regionManager = regionManager;
        }

        # region IModule Members

        public void Initialize()
        {
            this._regionManager.RegisterViewWithRegion("ButtonNavRegion", typeof(IsolationStorageView));
        }
        # endregion
    }
}
